package com.smarthospital.service;

import com.github.pagehelper.PageInfo;
import com.smarthospital.entity.dto.DutiesDTO;
import com.smarthospital.entity.dto.SocketDTO;
import com.smarthospital.entity.pojo.Doctor;
import com.smarthospital.entity.pojo.InquiryOrder;

import java.text.ParseException;
import java.util.List;

public interface DoctorService {
    PageInfo<Doctor> querDoctors(Integer doctorLevel, Integer pageSize, Integer pageNum) throws ParseException;
    /**
     * 根据医生工号查询医生排班信息表
     * @param doctor
     * @return
     */
    List<DutiesDTO> doctorDuty(String doctor);

    /**
     * 排班列表，从今天起后面7天的排班
     * @return
     */
    List<DutiesDTO> duties(String major);

    Doctor getDoctorById(Integer doctorId) throws ParseException;

    /**
     * 挂号列表
     * @return
     */
    PageInfo<InquiryOrder> doctorOrders(Integer pageNum,Integer pageSize );

    /**
     * 消息列表
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<SocketDTO> socketList(Integer pageNum, Integer pageSize);
}
